POV-Ray : Newsgroups : povray.binaries.scene-files : quaternions.inc : Re: quaternions.inc Server Time
27 Apr 2024 18:44:59 EDT (-0400)
  Re: quaternions.inc  
From: Jellby
Date: 6 Oct 2003 17:16:22
Message: <3f81dba5@news.povray.org>
Entre otras cosas, None tuvo a bien escribir:

> As an educational exercise for myself I've created a set of macros to
> handle quaternions, which can be useful for rotations. I've compiled
> these macros into an include file which I've attached.
> 
> [...]
> 
> If anyone else finds this useful, let me know.

Interesting... I've seen quaternions in a molecular dynamics program called 
MOLDY (it simulates rigid molecules, and uses quaternions to control their 
rotations).

As has already been requested, any example of use?

-- 
light_source{9+9*x,1}camera{orthographic look_at(1-y)/4angle 30location
9/4-z*4}light_source{-9*z,1}union{box{.9-z.1+x clipped_by{plane{2+y-4*x
0}}}box{z-y-.1.1+z}box{-.1.1+x}box{.1z-.1}pigment{rgb<.8.2,1>}}//Jellby


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.